<html>
<head>
<meta charset="utf-8">
<script src="clienthint.js"></script> 
</head>

<body>

<form> 
First Name:
<!-- <input type="text" id="txt1" onkeyup="showHint(this.value)"> -->
<input type="text" id="txt1">
<input type="button" name="" value="查询" onclick="showHint(txt1.value)">
<input type="button" name="">
</form>

<p>Suggestions: <span id="txtHint"></span></p>

</body>
</html>